package com.byzk.p2p.admin.score.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.byzk.p2p.admin.score.dto.ScoreRecord;
import com.byzk.p2p.admin.score.vo.ScoreRecordVo;

public interface ScoreRecordDao {
	
	public Integer countByStatus(ScoreRecordVo scoreRecord);

	public List<ScoreRecordVo> listScoreRecord(ScoreRecordVo scoreRecord);
	
	public ScoreRecord getScoreRecordById(Integer id);
	
	public Integer insert(ScoreRecord entity);
	
	public Integer batchInsert(List<ScoreRecord> list);

	public Integer update(ScoreRecord entity);

	public ScoreRecordVo countScore(ScoreRecordVo scoreRecord);

	public List<ScoreRecord> selectByWay(@Param("userId")Integer userId,@Param("way")String way);

	public List<ScoreRecord> selectByWay2(@Param("userId")Integer userId,@Param("way")String way);
	
}
